package com.nhncorp.pleiades.msg;

import java.io.IOException;

public interface Validator {
  
  public static enum PathMode {
    MASTER_PATH, 
    PROCESS_PATH,
    SPLIT_PATH,
    COMPACTION_PATH,
    SCHEMA_PATH,
    SERVER_PATH
  }
  
  public static enum Mode {
    LOCK_BASE,
    PERSISTENT_LOCK_BASE
  }
  
  public boolean isValidate(String path) throws IOException;  
  public boolean isValidate(String path, int pathMode) throws IOException;
}
